/**
 * @filename:JobLogService 2022-9-28
 * @project Wonder Java前后台分离框架  1.1.0
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.admin.service;

import com.wonder.admin.domain.JobLog;
import com.wonder.admin.request.JobLogRequest;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.Map;
/**   
 * @Description:TODO(任务日志服务层)
 * @version: 1.1.0
 * @author: Wonder
 * 
 */
public interface JobLogService extends IService<JobLog> {

    
    /**
     * 验证任务日志信息
     * 
     * @param JobLog信息
     * @return 结果
     */
    public String validate(JobLog jobLog,String type);
    
	 /**
	 * Description:任务日志分页返回
	 * @request:检索条件
	 * @page：分页参数
	 * @return:分页记录
	 */
    public IPage<JobLog> selectList(JobLogRequest request, Page<JobLog> page);
    
	/**
	 * 导出数据
	 */
	Map<String,Object> dumpdata(JobLogRequest request);

	/**
	 * 新增任务日志
	 * 
	 * @param jobLog 调度日志信息
	 */
	void addJobLog(JobLog jobLog);
	
	
}